﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace demo
{
    class Student
    {
        private int _ID;
        private string _name;
        private int _age;
        public int ID { get => this._ID; set => this._ID = value; }
        public string name { get => this._name; set => this._name = value; }
        public int age { get => this._age; set => this._age = value; }

        public Student() { 
        
        }

        public Student(int ID,string name,int age) {
            this._age = age;
            this._ID = ID;
            this._name = name;
        }
        public override string ToString()
        {
            return $"学号：{ID}  姓名：{name}  年龄：{age}  ";
        }

    }
}
